package com.smartstate.EnvironmentMonitor.entity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>设备</p>
 * <p>@Author 陈永杰</p>
 * <p>@Date: 2022/8/18</p>
 * <p>@Time: 20:02</p>
 * <p>@version 1.0 <p>
 */
@Data
@TableName("equipment")
public class EquipMent {
    /**
     * 设备ID
     */
    @TableId(type = IdType.INPUT)
    @TableField(value = "id",fill = FieldFill.INSERT)
    private String id;

    /**
     * 设备ID
     */
    @TableField(value = "deviceId")
    private String deviceId;


    /**
     * 设备名称
     */
    @TableField(value = "name")
    private String name;

    /**
     *
     */
    @TableField(value = "alias")
    private String alias;


    /**
     * 类型
     */
    @TableField(value = "type")
    private String type;

    /**
     *
     */
    @TableField(value = "enabled")
    private String enabled;

    /**
     *
     */
    @TableField(value = "additional")
    private String additional;

    /**
     * 开始时间
     */
    @TableField(value = "createTime")
    @ApiModelProperty(value = "开始时间")
    private String createTime;


    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    @TableField(value = "createUser",fill = FieldFill.INSERT)
    private String createUser;



    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @TableField(value = "updateTime", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    @TableField(value = "updateUser", fill = FieldFill.UPDATE)
    private String updateUser;

    /**
     * 设备ip
     */
    @ApiModelProperty(value = "设备ip")
    private String ip;

}